SetAlternateText

Use this function to set alternate text in a graphic, text label, barcode, signature, chart, vector, table, or text area object.

 

Syntax:

SetAlternateText(ObjectName,Section,Form,Key2,ObjectType,AlternateText)

 

Parameter

Description

ObjectName

Enter the name of the graphic, text label, barcode, signature, chart, vector, table, or text area to set alternate text. The system updates the first object found that matches your entry for this parameter.

Section

Optional. Enter the name of the section.

Form

Optional. Enter the name of the form.

Key2

Optional. Enter the name of the Key2 group.

ObjectType

Enter the type of object, such as LOGO, TEXT, BARCODE, SIGNATURE, CHART, VECTOR, TABLE, or TEXTAREA.

The default is LOGO.

AlternateText

 

Important:

- The object referenced by SetAlternateText must have an explicit object name.

- Alternate text is only used when producing accessible PDF output

Example:

SetAlternateText("companyblank", "*", "*", "*", "LOGO", "Alamere Insurance logo");

Add the following parameter to the AddMultiPageBitmap rule documentation:

Option

Description

ALTTEXT

(Optional) Enter the alternate text that you wish to use for the graphic

 

Here is an example of the AddMultiPageBitmap rule used in a legacy DDT:

AddMultiPageBitmap;FILE(.\tiff\mail.tif),TYPE(T),TOP(2400,2400),CROP(,6IN),ALTTEXT(Chinese text: 上山,下楼一二三,上东山,四五六,下西楼.);